package com.estate.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.estate.pojo.Ban;
import com.estate.pojo.Detail;

public interface BanMapper {
	
	//按照区域id查询楼栋信息 _HE
	public List<Ban> selectBanByRegionId(@Param(value = "regionId")Integer regionId) throws Exception;
	
	// 按照项目id查看该项目下的楼栋信息
    public List<Ban> selectBanByProId(@Param(value = "ProId")Integer ProId) throws Exception;

    int deleteByPrimaryKey(Integer banId)throws Exception;

    //添加楼栋
    int insert(Ban record) throws Exception;

    int insertSelective(Ban record)throws Exception;

    Ban selectByPrimaryKey(Integer banId)throws Exception;

    int updateByPrimaryKeySelective(Ban record)throws Exception;

    int updateByPrimaryKey(Ban record)throws Exception;
}